
// The following ifdef block is the standard way of creating macros which make exporting 
// from a DLL simpler. All files within this DLL are compiled with the LPSAVEBITAMPGDIPLUSDLL6_EXPORTS
// symbol defined on the command line. this symbol should not be defined on any project
// that uses this DLL. This way any other project whose source files include this file see 
// LPSAVEBITAMPGDIPLUSDLL6_API functions as being imported from a DLL, wheras this DLL sees symbols
// defined with this macro as being exported.
#ifdef LPSAVEBITAMPGDIPLUSDLL6_EXPORTS
#define LPSAVEBITAMPGDIPLUSDLL6_API __declspec(dllexport)
#else
#define LPSAVEBITAMPGDIPLUSDLL6_API __declspec(dllimport)
#endif

// This class is exported from the LPSaveBitampGDIPlusDll6.dll
/*class LPSAVEBITAMPGDIPLUSDLL6_API CLPSaveBitampGDIPlusDll6 {
public:
	CLPSaveBitampGDIPlusDll6(void);
	// TODO: add your methods here.
};

extern LPSAVEBITAMPGDIPLUSDLL6_API int nLPSaveBitampGDIPlusDll6;

LPSAVEBITAMPGDIPLUSDLL6_API int fnLPSaveBitampGDIPlusDll6(void);

*/

int GetEncoderClsid(const WCHAR* format, CLSID* pClsid);
LPSAVEBITAMPGDIPLUSDLL6_API int LPSaveBitmapGDIPlusLib_SaveJPG(HBITMAP hbmp, LPCWSTR lpcwfilename);
LPSAVEBITAMPGDIPLUSDLL6_API int LPSaveBitmapGDIPlusLib_SavePNG(HBITMAP hBmp, LPCWSTR lpszFilename);
